﻿using System;
using Spotted.Data.Models;

namespace Spotted.Data.Repositories
{
    public interface ISpotRepository
    {
        /// <summary>
        /// Add a new spot 
        /// </summary>
        /// <param name="viewModel">The data to transmit to the web service to add a new spot</param>
        void AddNewSpot(AddNewSpotViewModel viewModel);

        /// <summary>
        /// Event fired to indicate the completion pof the AddNewSpot action
        /// </summary>
        event EventHandler AddNewSpotCompleted;
    }
}
